<!DOCTYPE html>
<!-- 表示使用Thymeleaf模板 -->
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>内置对象</title>
</head>
<body>
<div>
    Ctx Object part <br/>
    request in ctx: <span th:text="${#ctx.#request}"></span><br/>
    response in ctx: <span th:text="${#ctx.#response}"></span><br/>
    session in ctx: <span th:text="${#ctx.session}"></span><br/>
    servletContext in ctx: <span th:text="${#ctx.#servletContext}"></span><br/>
    locale: <span th:text="${#ctx.#locale}"></span><br/>
</div>
    Web Context Object
    Context path: <span th:text="${#request.getContextPath()}"></span><br/>
    Request URL: <span th:text="${#request.getRequestURL()}"></span><br/>
    Get user param: <span th:text="${#request.getParameter('user')}"></span>
<div>

</div>
</body>
</html>